using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.Collections;

namespace TPDSFileIO
{
    [Serializable()]
    [XmlRoot("EymBCrdCMDOutput"), XmlInclude(typeof(EymBCrdResult))]
    public class BarcodeResult
    {
        public string Timestamp;
        public string Version;
        public ArrayList EymBCrdResult;
    }

    [Serializable()]
    [XmlInclude(typeof(BarcodeMatch))]
    public class EymBCrdResult
    {
        public string FileName;
        public string Status;
        public int NbCodes;
        public ArrayList BarcodeMatch;
    }

    [Serializable()]
    public class BarcodeMatch
    {
        public string RawData;
        public string Symbology;
        public string BarcodeType;
        public string DataDescriptor;
        public string Data;
        public double Confidence;
        public int Startx;
        public int Starty;
        public int Stopx;
        public int Stopy;
    }
}
